package com.wpp.lagouserviceuser.convert;

import com.wpp.lagouserviceuser.param.UserParam;
import com.wpp.lagouserviceuser.pojo.UserPO;

/**
 * @author wpp25
 * @date 2021/5/16 19:04
 * @description：
 */
public class UserConvert {

    public static UserPO convert(UserParam userParam) {
        UserPO userPO = new UserPO();
        userPO.setUserName(userParam.getUserName());
        userPO.setPassword(userParam.getPassword());

        return userPO;
    }
}
